<%-- 
    Document   : Employee
    Created on : May 9, 2012, 9:28:43 AM
    Author     : Nguyen Hung
--%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<%@taglib prefix="rich" uri="http://richfaces.org/rich" %>
<%@taglib prefix="a4j" uri="http://richfaces.org/a4j" %>
<html>
    <head>

        <script type="text/javascript" language="javascript" src="../scripts/jQuery/confirm.js"></script>
        <script type="text/javascript" language="javascript" src="../scripts/jQuery/jquery.fancybox-1.3.4.pack.js"></script>
        <!-- -->
        <link rel="stylesheet" type="text/css" href="../scripts/tabs/slidingtabs-horizontal.css">
        <script type="text/javascript" src="../scripts/tabs/slidetab.js"></script>
        <!-- -->
        <script type="text/javascript" language="javascript" src="../scripts/jQuery/jquery.rateit.js"></script>
        <link rel="stylesheet" type="text/css" href="../css/rateit.css">

        <link rel="stylesheet" type="text/css" href="../scripts/table/jquery-ui-1.8.4.custom.css"/>
        <link rel="stylesheet" type="text/css" href="../scripts/table/tablesort.css"/>
        <script type="text/javascript" language="javascript">
            var open_cur = 0;
            $j = jQuery.noConflict(); 
            $j(document).ready(function(){  
              
         
            });
        </script>
        <style type="text/css"> 

        </style>
    </head>


    <body>
        <a4j:form>
            <f:loadBundle basename="#{environmentSession.localizationSource}" var="locale"/>
            <div id="content">
                <div id="menu_top">
                    <div class="dropdown">
                        <div class="select_choise">
                            <a href="#"><span>Khu vực</span></a>
                        </div>
                        <div class="select_hidden">
                            <ul>

                                <li><a href="#"><span>Filter Cấp 3</span></a></li>
                                <li><a href="#"><span>Filter Cấp 3</span></a></li>
                            </ul>
                        </div>
                    </div>
                    <div class="dropdown">
                        <div class="select_choise">
                            <a href="#"><span>Outlets</span></a>
                        </div>
                        <div class="select_hidden">
                            <ul>
                                <li><a href="#"><span>Ban Điều Hành</span></a></li>
                                <li><a href="#"><span>Nhóm IT</span></a></li>
                                <li><a href="#"><span>Filter Cấp 3</span></a></li>
                            </ul>
                        </div>
                    </div>
                    <div style="float:left;margin-right: 2px;margin-left: 2px;" class="imgFancybox">
                        <h:commandButton title="Export Word File" value="Print word" onclick="showPleaseWait();" action="#{T950Bean.printWord}" styleClass="buttonExcel"/>

                    </div>
                </div>
                <div id="content_detail" class="content_detail">
                    <div class="content" style="height: 550px;">
                        <div style="width: 80%;margin-left: 10%;border: 1px solid #858B99;float:left;padding: 5px;margin-top: 5px;">
                            <div style="width: 100%;line-height: 25px;float:left;">
                                <div style="float:left;">
                                    <h:outputText value="CTY TNHH DU HÀNH SÀI GÒN"/>
                                </div>
                                <div style="float:right;font-size: 8px;">
                                    <h:outputText value="Mẫu số:02TT"/></br><h:outputText value="Ban hành theo QĐ số 15/2006QĐBTC"/>
                                </div>
                            </div>
                            <div style="width: 100%;line-height: 25px;float:left;text-align: center;">
                                 <h:panelGroup rendered="#{T950Bean.ft000==21}">  <h:outputText style="font-size:14px;font-weight:bold;margin-right:10px;" value="PHIẾU THU"/>     <h:outputText value="Số :"/></h:panelGroup>
                                 <h:panelGroup rendered="#{T950Bean.ft000==15}">  <h:outputText style="font-size:14px;font-weight:bold;margin-right:10px;" value="PHIẾU THU"/>     <h:outputText value="Số :"/></h:panelGroup>
                                <h:panelGroup rendered="#{T950Bean.ft000==17}">  <h:outputText style="font-size:14px;font-weight:bold;margin-right:10px;" value="PHIẾU THU"/>     <h:outputText value="Số :"/></h:panelGroup>
                                <h:panelGroup rendered="#{T950Bean.ft000==16}">  <h:outputText style="font-size:14px;font-weight:bold;margin-right:10px;" value="PHIẾU CHI"/>     <h:outputText value="Số :"/></h:panelGroup>
                                <h:panelGroup rendered="#{T950Bean.ft000==18}">  <h:outputText style="font-size:14px;font-weight:bold;margin-right:10px;" value="PHIẾU CHI"/>     <h:outputText value="Số :"/></h:panelGroup>
                               
                            </div>
                            <div style="width: 100%;line-height: 25px;float:left;text-align: center;">
                                <h:outputText value="Ngày  #{T950Bean.dd}   tháng   #{T950Bean.mm}  năm  #{T950Bean.yy}"/>
                            </div>
                            <div style="width: 100%;line-height: 25px;float:left;">
                                 <h:panelGroup rendered="#{T950Bean.ft000==21}"> 
                                     <h:outputText value="Họ tên người nộp tiền: "/>
                                     <h:outputText style="font-weight:bold;" value="#{T950Bean.hoten}"/>
                                 </h:panelGroup>
                                <h:panelGroup rendered="#{T950Bean.ft000==14}">  <h:outputText value="Họ tên người nộp tiền:"/>  
                                    <h:outputText style="font-weight:bold;" value="#{T950Bean.hoten}"/></h:panelGroup>
                                <h:panelGroup rendered="#{T950Bean.ft000==13}">  <h:outputText value="Họ tên người nộp tiền:"/> 
                                    <h:outputText style="font-weight:bold;" value="#{T950Bean.hoten}"/></h:panelGroup>
                                <h:panelGroup rendered="#{T950Bean.ft000==15}">  <h:outputText value="Họ tên người nộp tiền:"/> 
                                    <h:outputText style="font-weight:bold;" value="#{T950Bean.hoten}"/></h:panelGroup>
                                <h:panelGroup rendered="#{T950Bean.ft000==17}">  <h:outputText value="Họ tên người nộp tiền:"/> 
                                    <h:outputText style="font-weight:bold;" value="#{T950Bean.hoten}"/></h:panelGroup>
                                <h:panelGroup rendered="#{T950Bean.ft000==16}"> <h:outputText value="Họ tên người nộp tiền: #{T950Bean.hoten}"/></h:panelGroup>
                                <h:panelGroup rendered="#{T950Bean.ft000==18}"> <h:outputText value="Họ tên người nộp tiền: #{T950Bean.hoten}"/></h:panelGroup>
                            </div>
                            <div style="width: 100%;line-height: 25px;float:left;">
                                <h:outputText value="Địa chỉ: "/>
                                <h:outputText style="font-weight:bold;" value="#{T950Bean.adddress}"/>
                            </div>
                            <div style="width: 100%;line-height: 25px;float:left;">
                                <h:outputText value="Lý do chi: #{T950Bean.tv076}"/>
                            </div>
                            <div style="width: 100%;line-height: 25px;float:left;">
                                 <h:outputText value="Số tiền: "/>
                            
                                <h:outputText style="font-weight:bold;color:red;" value=" #{T950Bean.tn951St}                        đồng"/>
                            </div>
                            <div style="width: 100%;line-height: 25px;float:left;">
                                <h:outputText value="Bằng chữ: "/>
                            </div>
                            <div style="width: 100%;line-height: 25px;float:left;">
                                <h:outputText value="Kèm theo:                             Chứng từ gốc:"/>
                            </div>
                            <div style="width: 100%;line-height: 25px;float:left;text-align: right;">
                               <h:outputText value="Ngày  #{T950Bean.dd}   tháng   #{T950Bean.mm}  năm  #{T950Bean.yy}"/>
                            </div>
                            <div style="width: 100%;line-height: 25px;float:left;text-align: center;">
                                <h:outputText value="Người lập phiếu" style="margin-right:20px;"/>
                                <h:outputText style="margin-right:20px;" value="Người nhận tiền"/>
                                <h:outputText value=" Thủ quỹ" style="margin-right:20px;"/>
                                <h:outputText style="margin-right:20px;" value="KT Trưởng"/>
                                <h:outputText value="Giám đốc"/>
                            </div>
                        </div>
                    </div>
                    <rich:modalPanel id="ajaxLoadingModalBox" minHeight="30" minWidth="40"
                                     height="30" width="40" zindex="2000">
                        <h:outputText value="#{locale.please_wait}" styleClass="startDummer"></h:outputText>
                    </rich:modalPanel>
                </div>
            </div>
        </a4j:form>
    </body>
</html>
